package com.cmwa.solution.business.investTrade.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmwa.solution.annotation.MybatisDao;
import com.cmwa.solution.base.entity.SearchParam;
import com.cmwa.solution.business.investTrade.entity.InvesSecurVo;

/**
 * 投资标的Dao
 * @author ex-chenbq
 *
 */
@MybatisDao
public interface InvesSecurDao {

	/**
	 * 分页查询所有投资标的
	 * @param param
	 * @return
	 */
	public List<InvesSecurVo> queryInvesSecurListPage(SearchParam param);
	
	/**
	 * 根据iD查询投资标的详情
	 * @param Id
	 * @return
	 */
	public InvesSecurVo findInvesSecurById(@Param("id") String id);
	
	/**
	 * 新增投资标的
	 * @param invesSecurVo
	 */
	public void insertInvesSecur(InvesSecurVo invesSecurVo);

	/**
	 * 修改投资标的
	 * @param invesSecurVo
	 */
	public void updateInvesSecur(InvesSecurVo invesSecurVo);
	
	/**
	 * 删除投资标的
	 * @param Id
	 */
	public void deleteInvesSecurById(@Param("id") String id);
}
